<%@ Page Title="" Language="C#" MasterPageFile="Home.master" %>

<%@ Register Src="../module/Types-List.ascx" TagName="Types" TagPrefix="inal" %>
<%@ Register Src="../module/Product-List.ascx" TagName="Product" TagPrefix="inal" %>
<script runat="server">
    public int Item_Id = 0;
    public int Item_Typ = 0;
    public Product product;
    public string RealText;
    protected void Page_Load(object sender, EventArgs e)
    {

        if (Request.QueryString["id"] != null)
        {
            Item_Id = Convert.ToInt32(Request.QueryString["Id"].ToString().Trim());
            product = new Product(Item_Id);
            Item_Typ = product.Item_Typ;
            OrderProducts.Cid = Item_Typ;
        }
    }
    public string FormatHtmlCode(string Text_Value)
    {
        ///* URL 选晰 */
        Text_Value = Utils.HtmlDecode(Text_Value);
        Text_Value = Text_Value.Replace("<br />", "");
        Text_Value = Text_Value.Replace("  ", "");
        Text_Value = Text_Value.Replace("\t", "");
        Text_Value = Text_Value.Replace("<BR>", "");
        // Text_Value = Text_Value.Replace("&amp;amp;", "&");
        return Text_Value;
    }
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title><%=product.Item_Name %>-<%=Lang.Show("WenSizeName")%></title>
    <meta name="keywords" content="<%=product.Item_Name %>" />
    <meta name="description" content="<%=product.Item_Instructions %>" />
    <script src="../static/js/cloud-zoom.min.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="ch"></div>
    

    
        <!-- 产品预览区域 -->
        <div id="Product_View">
            <div class="layout">
                 <h3><%=product.Item_Name %></h3>
            <!-- 商店封面图 -->
            <img id="Product_Img" alt="<%=product.Item_Name %>" src="../DataFile/Product/<%=product.Create_Time.ToString("yyyyMM") %>/<%=product.Create_Time.ToString("ddHHmmss") %>.jpg" />
            
            <div class="product_info">
               
                <ul class="class">
                    <li><span><%=Lang.Show("Item_Price")%> :</span> <p> <%=Lang.Show("designTime")%>: <%=product.Item_Price %></p></li>
              
                
                </ul>
            </div>
            <!-- 详细介绍 -->
                <div id="Introduction"><%=FormatHtmlCode(product.Item_Introduction)%></div>
           </div>
        <!-- 侧边  -->
            <div class="layout">
                <div id="Product_View_Left" class="left">
                    <!-- 二维码 
                    <img alt="<%=product.Item_Name %>" src="http://s.jiathis.com/qrcode.php?url=<%=Utils.UrlEncode(Request.Url.ToString()).ToLower().Replace("home","m") %>" class="tocode" />
                        -->
                </div>
           </div>
          
   
    <!-- 推荐产品 -->
        <div id="F6" class="products listOfListPage">
       
                <inal:product ID="OrderProducts" runat="server" S_Mode="" />
       
        </div>
    </div>
</asp:Content>

